<?php 
  include("ajaxinclude.php");
$maxRows_rs_sch = 10;
$pageNum_rs_sch = 0;
if (isset($_GET['qs'])) {
  $colname_rs_sch =strip_tags(stripcslashes($_GET['qs']));
}
mysql_select_db($database_imaCn, $imaCn);
$rs_sch = searchContact($colname_rs_sch);
$row_rs_sch = mysql_fetch_assoc($rs_sch);
$tt= mysql_num_rows($rs_sch);
?>
  <?php if($tt<1)
  {
	  echo "<span class='error1'>No match <strong>FOUND</strong></span>";
  } else { 
  do { ?>
    <div class="unline"><a href="./?page=<?php echo $page; ?>&itemid=<?php echo $row_rs_sch['nid']; ?>"><?php echo $row_rs_sch['ntitle']; ?> <span class="smalltxt error1"> by <?php echo $row_rs_sch['person']; ?></span> </a></div>
    <?php } while ($row_rs_sch = mysql_fetch_assoc($rs_sch));
  }
mysql_free_result($rs_sch);?>
